package GUI.ElementosGUI;



import java.awt.*;
import javax.swing.*;

public class ImagePanel extends JPanel{
	
	private Image image;
	public void paintComponent(Graphics g){
		RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
		image = Toolkit.getDefaultToolkit().getImage(Constantes.imagemInicial);
		g.drawImage(image, 0, 0, this);
	}
}
